home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
btrieve
/
winbtr
/
globals.h
< prev
next >
Wrap
Text File
|
1979-11-29
|
1KB
|
51 lines
unsigned long textcolor = RGB (0, 128, 128);
unsigned long bkcolor = RGB (0,0,0);
unsigned text = FALSE;
HWND parentWnd;
HANDLE parentInst;
HWND hDlgModeless = 0;
char textlines [NUMLINES][MAXWIDTH];
char errMsg [100];
char fileIsOpen;
unsigned op;
unsigned opNdx;
HANDLE hPosBlk;
char far *posBlk;
unsigned char dataBuf [100];
unsigned dataLen;
unsigned char keyBuf[255];
unsigned keyNum = 0;
unsigned btrstat;
char *Operations[] =
{
"Close",
"Get ->",
"Get <-",
"Get >",
"Get >=",
"Get <=",
"Get First",
"Get Last"
};
int OpCodes[] = {1, 6, 7, 8, 9, 10, 12, 13};
struct
{
WORD wVirtKey;
int iMessage;
WORD wRequest;
}
keyScroll [] =
{
VK_HOME, WM_VSCROLL, SB_TOP,
VK_END, WM_VSCROLL, SB_BOTTOM,
VK_PRIOR, WM_VSCROLL, SB_PAGEUP,
VK_NEXT, WM_VSCROLL, SB_PAGEDOWN,
VK_UP, WM_VSCROLL, SB_LINEUP,
VK_DOWN, WM_VSCROLL, SB_LINEDOWN,
VK_LEFT, WM_HSCROLL, SB_PAGEUP,
VK_RIGHT, WM_HSCROLL, SB_PAGEDOWN
};